package com.liu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (Cart)实体类
 *
 * @author makejava
 * @since 2022-04-24 00:40:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "购物车相关model")
@TableName("t_cart")
public class Cart implements Serializable {
    private static final long serialVersionUID = 837434286376084144L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Integer uid;
    
    private Integer num;
    
    private Date ctime;
    
    private Integer gid;
    
    private Double jprice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Double getJprice() {
        return jprice;
    }

    public void setJprice(Double jprice) {
        this.jprice = jprice;
    }

}

